package com.jie.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jie.dto.CommentDTO;
import com.jie.entity.Comment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 论坛评论表 Mapper 接口
 * </p>
 *
 * @author jie
 * @since 2024-05-29
 */
@Mapper
public interface CommentMapper extends BaseMapper<Comment> {
    //给评论的评论数量增加
    boolean  addCommentCount(@Param("commentId") Integer commentId,@Param("CommentCount")  Integer CommentCount);

    List<CommentDTO> selectList();
}
